package com.zzyl.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
public class MenuItemVo {

    private String resourceNo;
    private String parentResourceNo;

    private String name;
    private String path;
    private String component;
    private String redirect;
    private List<MenuItemVo> children;

    private Meta meta;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class Meta{
        private String title;
        private String icon;
    }

}